Creation parameters:
- parent
- id
- x [=-1]
- y [=-1]
- cx [=-1]
- cx [=-1]
- style [ = wxTB_HORIZONTAL | wxNO_BORDER ]
proc add_separator( atom bar )
func add_tool( atom bar, integer id, atom b1, atom b2, sequence label, sequence s1, sequence s2, integer kind )
proc set_tool_bitmap_size( atom bar, integer x, integer y )
proc set_tool_margins( atom toolbar, integer x, integer y )
proc show_toolbar( atom bar )
proc toggle_tool( atom bar, atom id, integer toggle )
Parent Topics:
Classes
Controls
Category: wxToolBar
This adds a line from the top to the bottom of the toolbar. It must be
declared between the two tools that you want it to go between.
See Also:
add_tool,
set_tool_bitmap_size,
set_tool_margins,
show_toolbar,
toggle_tool
[func]
add_tool ( atom bar, integer id, atom b1, atom b2, sequence label, sequence s1, sequence s2, integer kind )
Category: wxToolBar
- bar: toolbar to add to
- id: the tool's id
- b1: bitmap
- b2: bitmap
- s1: short help string
- s2: long help string
- kind: type of item (wxITEM_NORMAL, wxITEM_CHECK, wxITEM_RADIO)
See Also:
add_separator,
set_tool_bitmap_size,
set_tool_margins,
show_toolbar,
toggle_tool
Category: wxToolBar
Sets the size of the images to be loaded into the toolbar.
The default is 32 x 32. This does not seem to have an effect
under Linux (my investigation of wxWidgets source doesn't ever
show these properties being used by wxGTK).
See Also:
add_separator,
add_tool,
set_tool_margins,
show_toolbar,
toggle_tool
Category: wxToolBar
See Also:
add_separator,
add_tool,
set_tool_bitmap_size,
show_toolbar,
toggle_tool
Category: wxToolBar
Must be called after tools are added.
See Also:
add_separator,
add_tool,
set_tool_bitmap_size,
set_tool_margins,
toggle_tool
[proc]
toggle_tool ( atom bar, atom id, integer toggle )
Category: wxToolBar
See Also:
add_separator,
add_tool,
set_tool_bitmap_size,
set_tool_margins,
show_toolbar